/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nus.application.ejb.review;

import com.nus.dataaccess.dao.review.ReviewAssignment;
import com.nus.dataaccess.dao.review.ReviewResult;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author robin.foe
 */
@Local
public interface ReviewAssignmentEjbLocal {
    
    public List<ReviewAssignment> paginate(int first, int pageSize, String sortField, boolean ascending, Map<String, Object> filters);

    public int countTotal(Map<String, Object> filters);
    
    public ReviewAssignment getReviewAssignment(Long id);
    
    public void persistReviewResult(ReviewResult reviewResult);
    
    public void saveReviewResult(ReviewResult reviewResult);
    
    public void completeReviewResult(ReviewResult reviewResult);
    
    
}
